#ifndef _SAMPLESENSORDATA_H_
#define _SAMPLESENSORDATA_H_



#include "stm32f10x.h"
#include "usart.h"
#include "string.h"
#include "MPU9250.h"
#include "attitudeAlgorithm.h"

extern const char cmd0[30];//index 0

extern const char cmd1[30];//index 1
extern const char cmd2[30];//index 2
extern const char cmd3[30];//index 3
extern const char cmd4[30];//index 4

extern const char cmd5[30];//index 5

extern const char cmd6[30];//index 6
extern const char cmd7[30];//index 7
extern const char cmd8[30];//index 8
extern const char cmd9[30];//index 9

extern const char cmd10[30];//index 10
extern const char cmd11[30];//index 11
extern const char cmd12[30];//index 12

extern const char cmd13[30];//index 13

extern const char cmd100[30];//index 100
extern char cmd[30];
extern char cmdIndex;

void scancmd(void);

void display_3AxisData(float accel_X, float accel_Y, float accel_Z);
void display_3AxisRawData(u8 X, u8 Y, u8 Z);
void display_1AxisData(float tmp);
void display_1AxisRawData(u8 w);

void display_AK8963Info(u8 asa_X, u8 asa_Y, u8 asa_Z, u8 id);
void help(void);

#endif
